package net.sansi.v3correctserver.task;

import lombok.extern.slf4j.Slf4j;
import net.sansi.v3correctserver.constenum.AppHelper;
import net.sansi.v3correctserver.dto.analyse.PhotoAnalyseDto;
import net.sansi.v3correctserver.util.CmmUtil;

@Slf4j
public class RequestAttributeTestTask extends V3Task<RequestAttributeTestTask, RequestAttributeTestTask.Progress> {

    public RequestAttributeTestTask(PhotoAnalyseDto.RectAutoReq params) {
        super(5, new Progress());
    }

    @Override
    void runHandler() {
        log.info("[project space 1] {}", AppHelper.projectSpace().getPath());
        CmmUtil.sleep(2000);
        log.info("[project space 2] {}", AppHelper.projectSpace().getPath());
    }

    public static class Progress extends V3Task.Progress {
    }
}